package server;

/**
 * Class Seed
 * 	This class holds all the information about a seed. This also contains getters and setters.
 * @author pknintendodude
 *
 */

public class Seed {
	
	private String comName;
	private String sciName;
	private int hardiness;
	private String reqs;
	private String tips;
	private int harvestInfo;
	private String seedID;
	
	private Seed(String com, String sci, int hardi, String req, String tip, int harvInfo, String ID) {
		String comName = com;
		String sciName = sci;
		int hardiness = hardi;
		String reqs = req;
		String tips = tip;
		int harvestInfo = harvInfo;
		String seedID = ID;
	}
	
	
	public String getComName()
	{
		return comName;
	}
	
	public void setComName(String comName)
	{
		this.comName = comName;
	}
	
	
	public String getSciName()
	{
		return sciName;
	}
	
	public void setSciName(String sciName)
	{
		this.sciName = sciName;
	}
	
	public int getHardiness()
	{
		return hardiness;
	}
	
	public void setHardiness(int hardiness)
	{
		this.hardiness =hardiness;
	}
	
	
	public String getTips()
	{
		return tips;
	}
	
	public void setTips(String tips)
	{
		this.tips = tips;
	}
	
	public String getReqs()
	{
		return reqs;
	}
	
	public void setReqs(String reqs)
	{
		this.reqs = reqs;
	}
	
	public void setHarvestInfo(int harvestInfo)
	{
		this.harvestInfo = harvestInfo;
	}
	
	public String getHarvestInfo() {
		return harvestInfo+"";
		// Error seems to me harvestInfo is int 
		// and getHarvestInfo returns String.
	}

	public String getSeedID()
	{
		return seedID;
	}
	
	public void setSeedID(String seedID)
	{
		this.seedID = seedID;
	}
}
